@extends('app')

@section('content')

<link href="{{ asset('/css/spinners.css') }}" rel="stylesheet">
<link href="{{ asset('/css/resume.css') }}" rel="stylesheet">
<link href="{{ asset('/css/member.css') }}" rel="stylesheet" type="text/css" />
<div id="grid" class="grid" style="position: fixed;z-index: 1000;left:50%;display: none;">
    <div class="cell">
        <div class="card">
            <span class="throbber-loader">Loading…</span>
        </div>
    </div>
</div>

<ul class="nav nav-tabs">
    <li class="active"><a href="#">用户简历</a></li>
</ul>


<div class="panel panel-default mt20">

    <div class="table-responsive panel-body">
        <table class="table table-hover">
            <thead>
            <tr>
                <th>编号</th>
                <th>用户名称</th>
                <th>用户邮箱</th>
                <th>用户简历</th>
                <th>创建时间</th>
            </tr>
            </thead>
            <tbody>
            @foreach($userlist as $res)
            <tr id="news_{{ $res->id }}">
                <td>{{ $res->id }}</td>
                <td><a href="{{ url('/admin/users/users/'.$res->id.'/edit') }}">{{ $res->name }} </a></td>
                <td>{{ $res->email }}</td>
                <td>
                    <span class="glyphicon glyphicon-eye-open " onclick="viewuserResume('/admin/users/resumeview/{{$res->id}}')" style="color: #2ECC71;cursor: pointer;" ></span>
                </td>
                <td>{{ $res->created_at }}</td>
            </tr>
            @endforeach
            </tbody>
        </table>
    </div>
</div>
<div>{!! $userlist->render() !!} </div>
<!--   预览简历 !-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document"  style="width: 72%;" >
        <div class="modal-content" style="font-size: 12px;font-family: inherit;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel" style="text-align: center;">某某简历</h4>
            </div>
            <div class="modal-body">
                <div id="resumebody">

                </div>
            </div>
            <div class="modal-footer">
<!--                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>-->
<!--                <button type="button" class="btn btn-primary">Save changes</button>-->
            </div>
        </div>
    </div>
</div>
@endsection
